﻿using PRO.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PRO.Common;

namespace web
{
    public partial class error : PageBase
    {
        private string code = CVGRequest.GetQueryString("code");
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!code.IsNullOrWhiteSpace())
            {
                switch (code)
                {
                    case "404":
                        this.ErrorControl.Msg = "非常抱歉，您访问的页面不存在！";
                        break;
                    default:
                        this.ErrorControl.Msg = code;
                        break;
                }
            }
        }
    }
}